/**
 * 基础路由
 */
const constantRouterMap = [
    {
        //首页
        path: '/',
        name: 'Index',
        component: () => import('@/views/main/Index.vue'),
        meta: {includeMainBar: true},
        children: [
            {
                path: '',
                name: 'Overview',
                component: () => import('@/views/main/child/Overview.vue')
            },
        ]
    },
    {
        //配置
        path: '/conf',
        name: 'Conf',
        component: () => import('@/views/conf/Index.vue'),
        meta: {includeMainBar: false}
    },
    {
        //登录
        path: '/auth/login',
        name: 'AuthLogin',
        component: () => import('@/views/auth/Login.vue'),
        meta: {includeMainBar: true}
    }
]

export default constantRouterMap